home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
comm
/
tcp
/
AmiSlate1_2.lha
/
AmiSlate
/
ExampleRexx
/
raster.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-05-24
|
566b
|
32 lines
/* A test of the rastering system */
parse arg CommandPort ActiveString
if (length(CommandPort) == 0) then do
say ""
say "Usage: rx raster.rexx <REXXPORTNAME>"
say " (REXXPORTNAME is usually AMISLATE)"
say ""
say "Or run from the Rexx menu within AmiSlate."
say ""
exit 0
end
address (CommandPort)
'setraster 10 10 100 100 0'
i = 0
count = 0
do while (1)
i = i + 1
count = count i + 1
if (count > 500) then exit
if (i > 6) then do
i = 1
end
'putrasterpixel 3 PEN 'i
'waitevent 1'
end